<?php

class CommunicationServices{

	public function sendEmail($toAddress, $subject, $body){
		if (!mail($toAddress, $subject, $body)) {
			throw new Exception('021');
		}
	}
}

?>